/**
 * 
 */
package com.aizhixin.lab.company.entity;

import com.aizhixin.lab.common.entity.AbstractEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.*;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * 学生班级实体
 * @author zhen.pan
 *
 */
@SuppressWarnings("serial")
@Entity(name = "T_CLASSES")
@ToString
public class Classes extends AbstractEntity {

	@NotNull
	@Column(name = "NAME")
	@Getter @Setter private String name;

	@NotNull
	@Column(name = "PROFESSIONAL_ID")
	@Getter @Setter private Long professionalId;

	@NotNull
	@Column(name = "COLLEGE_ID")
	@Getter @Setter private Long collegeId;

}